<?php	namespace Home\Model;
use Hdphp\Model\Model;
/**
 * 订单表
 */
class OrderL extends Model
{
	protected $table = 'orderl';
	
	/**
	 * 编辑商品订单
	 */
	public function edit()
	{
		
	}
	/**
	 * 支付成功后执行修改
	 */
	public function payEdit($number)
	{
		$this->where('number',$number)->update(array('status'=>'待发货'));
		go(U('Home/MineYG/order'));
	}	
}
